package org.gwc.controller;

import org.gwc.pojo.Student;
import org.gwc.service.StudentService;

import java.util.List;

public class StudentController {
    private StudentService studentService;


    public void setStudentService(StudentService studentService) {
        this.studentService = studentService;
    }

    public void findAll(){
        List<Student> students = studentService.findAll();
        System.out.println("students: "+students);
    }
}
